<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@include file="/include/taglibs.jsp"%>
<html>
  <head>
    <title>考试试题定制管理</title>
	<style type="text/css">
	<!--
	body {
		margin-left: 0px;
		margin-top: 0px;
		margin-right: 0px;
		margin-bottom: 0px;
		background-color: #EEF2FB;
	}
	#manageSubject table  td{
		font-size:12px;
	}
	-->
	</style>
	<link href="${ctx}/teacher/images/skin.css" rel="stylesheet" type="text/css">
  </head>
<body>
<form method="post" action="${ctx}/examine!customPaper.action" name="queryForm">
<input type="hidden" name="id" value="${examine.id}">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="${ctx}/teacher/images/mail_leftbg.gif"><img src="${ctx}/teacher/images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="${ctx}/teacher/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">考试试题定制管理</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="${ctx}/teacher/images/mail_rightbg.gif"><img src="${ctx}/teacher/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="${ctx}/teacher/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9">
    <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td width="70%" valign="top"  align="center" style="font-size: 12px;padding-bottom: 5px;">
        	<input type="submit"  value="提交">
        </td>
        </tr>
      <tr>
        <td valign="middle">
        <span class="left_txt">
			<div id="manageSubject" align="center" height="400px"><!--管理试题-->
			<table width="95%"  border="0"  cellspacing="0" cellpadding="0"  style="border-collpase:collpase;border:1px solid #AEDEF2;border-collapse: collapse ">
				  <tr align="center">
				    <th style="width:6%">操作</th>
				    <th style="width:6%">试题类型</th>
					<th style="width:88%">试题标题</th>
				  </tr>
				  <c:forEach items="${chooseSubject}" begin="0" var="sub" varStatus="status">
				   <tr align="center">
				   			<td class="std"><input type="checkbox" name="subjectID" value="${sub.subjectID}"></td>
							<td class="std">
							<c:if test="${sub.subjectType=='1'}">单选择题</c:if>
							<c:if test="${sub.subjectType=='2'}">判断题</c:if>
							<c:if test="${sub.subjectType=='3'}">多选择题</c:if>
							</td>	
							<td class="std" align="left">${sub.subjectTitle}</td>
												
					 </tr>
				  </c:forEach>
				  
				  <c:forEach items="${decideList}" begin="0" var="sub" varStatus="status">
				   <tr align="center">
				   			<td class="std"><input type="checkbox" name="subjectID" value="${sub.subjectID}"></td>
							<td class="std">
							<c:if test="${sub.subjectType=='1'}">单选择题</c:if>
							<c:if test="${sub.subjectType=='2'}">判断题</c:if>
							<c:if test="${sub.subjectType=='3'}">多选择题</c:if>
							</td>	
							<td class="std" align="left">${sub.subjectTitle}</td>		
					 </tr>
				  </c:forEach>	
				  
				  <c:forEach items="${doubleDecideList}" begin="0" var="sub" varStatus="status">
				   <tr align="center">
				   			<td class="std"><input type="checkbox" name="subjectID" value="${sub.subjectID}"></td>
							<td class="std">
							<c:if test="${sub.subjectType=='1'}">单选择题</c:if>
							<c:if test="${sub.subjectType=='2'}">判断题</c:if>
							<c:if test="${sub.subjectType=='3'}">多选择题</c:if>
							</td>	
							<td class="std" align="left">${sub.subjectTitle}</td>					
					 </tr>
				  </c:forEach>					   
			</table>	
			</div>
		</td>
        </tr>
      
    </table></td>
    <td background="${ctx}/teacher/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="${ctx}/teacher/images/mail_leftbg.gif"><img src="${ctx}/teacher/images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="${ctx}/teacher/images/buttom_bgs.gif"><img src="${ctx}/teacher/images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="${ctx}/teacher/images/mail_rightbg.gif"><img src="${ctx}/teacher/images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</form>
</body>
</html>
<style>
th {
    background-color: #eef6fe;
    border: 1px solid #aedef2;
    color: #05b;
    font-size: 14px;
    width: 671px;
}
.std{
    background: none repeat scroll 0 0 ghostwhite;
    border: 1px solid #aedef2;
    color: #333;
    font-family: 新宋体;
    font-size: 12px;
}
</style>
